//发票管理
export default {
  path: "/ERP_InvoiceManage",
  meta: {
    icon: "ri:pages-line",
    title: "发票管理",
    rank: 50
  },
  children: [
    {
      path: "/ERP_InvoiceManage/ERP_Projectinvoice/Projectinvoice",
      name: "Projectinvoice",
      component: () =>
        import(
          "@/views/ERP_InvoiceManage/ERP_Projectinvoice/Projectinvoice.vue"
        ),
      meta: {
        icon: "ri:align-left",
        title: "项目发票",
        showParent: true,
        keepAlive: false,
        roleIds: ["cloudPurchase", "project"]
      }
    },
    {
      path: "/ERP_InvoiceManage/ERP_Projectinvoice/components/projectInvoiceDetail",
      name: "projectInvoiceDetail",
      component: () =>
        import(
          "@/views/ERP_InvoiceManage/ERP_Projectinvoice/components/projectInvoiceDetail.vue"
        ),
      meta: {
        showLink: false,
        keepAlive: true
      }
    },
    {
      path: "/ERP_InvoiceManage/ERP_SupplierInvoice/SupplierInvoice",
      name: "SupplierInvoice",
      component: () =>
        import(
          "@/views/ERP_InvoiceManage/ERP_SupplierInvoice/SupplierInvoice.vue"
        ),
      meta: {
        icon: "ri:align-left",
        title: "供应商发票",
        showParent: true,
        keepAlive: false,
        roleIds: ["cloudPurchase", "supply"]
      }
    },
    {
      path: "/ERP_InvoiceManage/ERP_SupplierInvoice/components/supplierInvoiceDetail",
      name: "supplierInvoiceDetail",
      component: () =>
        import(
          "@/views/ERP_InvoiceManage/ERP_SupplierInvoice/components/supplierInvoiceDetail.vue"
        ),
      meta: {
        showLink: false,
        title: "新增供应商发票",
        keepAlive: true
      }
    }
  ]
};
